package com.wsjj.yjh.mapper;

import com.wsjj.yjh.bean.HadoopTable;
import com.wsjj.yjh.bean.LinuxShellTable;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface HadoopTableMapper {
    @Select("select count(*) as count_linux_shell from hadoop_table")
    Integer selectCoumt();

    @Select("select * from hadoop_table where id=#{id}")
    HadoopTable selectById(@Param("id") Integer id);
}
